functional performance
Query use case
For this inference AI system provide me a list of all functional performance results.
Schemas used
Pseudo code
FUNCTION ai_system_functional_performance(AI_System_ID)
CREATE empty list Attestations
// Step 1: Search for all functional performance attestations
FOR EACH record IN database DO
IF record is of the form functional_performance_attestation(_, Attestation, component(_, AI_System_ID)) THEN
ADD (Attestation, AI_System_ID) TO Attestations
// Step 2: Return all collected attestations
RETURN Attestations
END FUNCTION
Explanation
-
Search for Functional Performance Attestations:
- The function queries the knowledge base for all
functional_performance_attestation
facts where the attested component corresponds to the specifiedAI_System_ID
.
- The function queries the knowledge base for all
-
Collect Attestations:
- For each matching record, it collects a tuple
(Attestation, AI_System_ID)
into a list namedAttestations
.
- For each matching record, it collects a tuple
-
Return Result:
- The resulting list contains all known functional performance attestations associated with the AI system, which is returned for further evaluation or reporting.
Query
ai_system_functional_performance(AiSystemId, Attestations)
link to query- link to simulator